home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 131 / XENIATGM131.iso / Goodies / I-WAR 2 Egde of Chaos - New SDK / IW2-EOC_Pog_Scripting_SDK.exe / include / Input.h < prev    next >
C/C++ Source or Header  |  2002-01-14  |  2KB  |  97 lines

  1. //
  2. // (c) 1999 Particle Systems Ltd. All Rights Reserved
  3. //
  4. // Input.h
  5. //
  6. // API for the package 'Input'.
  7. //
  8. // Revision control information:
  9. //
  10. // $Header:
  11. //
  12.  
  13. #include "Flux.h"
  14.  
  15. #include "FInput.h"
  16.  
  17. #ifdef FLUX_COMPILE
  18.  
  19. FLUX_DECLARE_EXTENSION(Input);
  20.  
  21. #ifdef FLUX_LIB
  22. #if _MSC_VER >= 1000
  23. #pragma comment( lib, "input" )
  24. #endif // _MSC_VER >= 1000
  25. #endif // FLUX_LIB
  26.  
  27. #else
  28.  
  29. // Dependencies ///////////////////////////////////////////////////////////////
  30.  
  31. // Exported functions /////////////////////////////////////////////////////////
  32.  
  33. //
  34. // Input.BindKey( string function, string key )
  35. //
  36. // Bind the given key to a Pog function.
  37. //
  38. prototype Input.BindKey( string function, string key );
  39.  
  40. //
  41. // Input.SuspendBindings
  42. //
  43. // Suspends key bindings
  44. //
  45. prototype Input.SuspendBindings();
  46.  
  47. //
  48. // Input.ResumeBindings
  49. //
  50. // Resumes key bindings
  51. //
  52. prototype Input.ResumeBindings();
  53.  
  54. //
  55. // Input.PurgeBindings()
  56. //
  57. // Purge the scriptable bindings
  58. //
  59. prototype Input.PurgeBindings();
  60.  
  61. //
  62. // string Input.KeyCombinations( string function )
  63. //
  64. // Returns a neatly formatted string of key combinations for the given function.
  65. //
  66. prototype string Input.KeyCombinations( string function );
  67.  
  68. //
  69. // int Input.NumInputSchemes()
  70. //
  71. // Get the number of input schemes available in the resource tree
  72. //
  73. prototype int Input.NumInputSchemes();
  74.  
  75. //
  76. // string Input.NthInputSchemeName( int index )
  77. //
  78. // Get the name of the Nth input scheme 
  79. //
  80. prototype string Input.NthInputSchemeName( int index );
  81.  
  82. //
  83. // int Input.CurrentInputScheme()
  84. //
  85. // Get the index of the current input scheme
  86. //
  87. prototype int Input.CurrentInputScheme();
  88.  
  89. //
  90. // Input.SelectInputScheme( int index )
  91. //
  92. // Switch to the given input scheme
  93. //
  94. prototype Input.SelectInputScheme( int index );
  95.  
  96. #endif // FLUX_LIB
  97.